package com.ITD.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("查询事件结果")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryWorkParam {
    @ApiModelProperty(value = "事务id")
    private String event_id;
    @ApiModelProperty(value = "学生姓名")
    private String student_name;
    @ApiModelProperty(value = "学生学号")
    private String student_no;
    @ApiModelProperty(value = "事件日期范围起始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date happen_date_begin;
    @ApiModelProperty(value = "时间日期范围结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")//指定输入的日期字符串的格式
    private Date happen_date_end;
    @ApiModelProperty(value = "班级id")
    private String class_id;
    @ApiModelProperty(value = "事件详情")
    private String detail;
    @ApiModelProperty(value = "创建人姓名")
    private String create_user_name;
    @ApiModelProperty(value = "事件类型id")
    private String type_id;
}
